class Student:
    items = []

    def __init__(self):
        pass

    def add_info(self, s):
        self._split_info(s)

    @classmethod
    def _split_info(cls, s):
        cls.items.append(s.split("#"))

    def show(self):
        for i in self.items:
            print(i)


stu = Student()
stu.add_info("张三#18#男#100")
stu.add_info("李四#19#男#99")
stu.add_info("王五#20#男#98")
print(stu.items)
